package com.dianhun.cn.pojo;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author cyt
 * @create 2020-08-26 15:12
 */
@Data
public class Teacher {
    @NotNull
    private String teacherName;
    @NotNull
    @Min(4)
    private Integer teacherAge;
}
